/**用户相关
 * Auth login 验证登录 roles 验证登录且验证权限
 * **/
import userLayout from '@/views/layout/Layout'
const userRouter = {
    path: '/user',
    component: userLayout,
    redirect: 'noredirect',
    name: 'User',
    meta: {
        title: '账户管理',
        icon: 'el-icon-message'
    },
    children: [
        {
            path: 'info',
            component: () => import('@/views/user/userInfo'),
            name: 'userInfo',
            meta: { title: '基本资料', hidden: true ,Auth: "roles"  }
        },
        {
            path: 'security',
            component: () => import('@/views/user/security'),
            name: 'DemandPlan',
            meta: { title: '安全设置', Auth: "roles" }
        }
    ]
}

export default userRouter
